<?php
session_start();
header('Content-Type:text/javascript; charset=utf-8');
if(!empty($_GET['code'])){
  require './Des.php';
  $username = Des::decrypt($_GET['code'],'openpoor');
  if(!empty($username)){
    header('P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"');
    $_SESSION['username'] = $username;
  }
}
echo "function _(){window.status='ok';}";//这里只是随便返回